package com.ruoyi.goods.GoodsStore.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.goods.GoodsStore.domain.StockBillItem;
import com.ruoyi.goods.GoodsStore.mapper.StockBillItemMapper;
import com.ruoyi.goods.GoodsStore.service.IStockBillItemService;
import org.springframework.stereotype.Service;


/**
 * 出入库单据明细Service业务层处理
 *
 * @author godlei
 * @date 2022-11-28
 */
@Service
public class StockBillItemServiceImpl extends ServiceImpl<StockBillItemMapper, StockBillItem> implements IStockBillItemService {

    /**
     * 查询出入库单据明细列表
     *
     * @param stockBillItem 出入库单据明细
     * @return 出入库单据明细
     */
    @Override
    public List<StockBillItem> selectStockBillItemList(StockBillItem stockBillItem) {
        return getBaseMapper().selectStockBillItemList(stockBillItem);
    }

    @Override
    public List<StockBillItem> selectStockBillItemByBillId(Long id) {
        return getBaseMapper().StockBillItemByBillId(id);
    }
}
